<!-- Begin Sidebar -->
<div id="sidebar">	

    <?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar('Sidebar 1') ) : else : ?>
    <!-- Recent Posts -->
    <div class="widget">
        <h2>Recent Posts</h2>
         <ul>
           	<?php wp_get_archives('title_li=&type=postbypost&limit=999'); ?>
         </ul>
    </div>
    <?php endif; ?>
</div>
<!-- End Sidebar -->
